package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "Demo")
public class Demo implements java.io.Serializable{
    private String id; //问卷编号
    private String name;  //问卷名称
    private String cover; //封面
    private String level;  //级别
    private long star; //星别（例如：2颗星，3颗星，5颗星）
    private Question[] questions; //试题
    private long isLock = 1l;  //是否锁住（0解锁，1锁住）
    private String reportID;  //最新报告id
}
